import { Component,ViewChild } from '@angular/core';


@Component({
  selector: 'app-tab1',
  templateUrl: './tab1.page.html',
  styleUrls: ['./tab1.page.scss']
})
export class Tab1Page {
  @ViewChild('slide') slide;
  constructor() {
    
  }
  doSlide(){
    this.slide.slideNext();
}
slideDidChange(){
  this.slide.startAutoplay();
}

}
